import { createRouter, createWebHashHistory } from "vue-router";
import Features from "../views/Features";
const routes = [
  {path:"/",
  component:Features},
  {
    path: "/Docs",
    component:() => import("../views/Docs"),
    children:[
      {
        path:"hh",
        components:{
          default:()=>import("../components/Brief"),
          // lie:()=>import("../components/Lie")

        }
      },
      {
        path: "hh2",
        components:{
          default:()=>import("../components/Brief-2"),
          lie:()=>import("../components/Lie-2")
        }
      }
    ]

  },
  {
    path:"/Events",
    component: ()=>import("../views/Events")
  },
  {
    path: "/Resources",
    component: ()=>import("../views/Resources"),
    children: [
      {
        path: "KF",
        component: ()=>import("../components/KF")
      }
    ]
  },
  {
    path: "/Translations",
    component:()=>import("../views/Translations")
  }
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
